package com.seckill.entity;

/**
 * @author wangzhilong
 * @date 2019-06-18
 */
public class Order {

    private Integer id ;
    private Integer bookId ;
    private Integer amount ;

    public Order(Integer bookId) {
        this.bookId = bookId;
        this.amount = 20000 ;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }
}
